package com.yubest.shiro.consts;

public class Consts {

    public static final String TOKEN_KEY = "access-token";

    /**
     * 成功
     */
    public static final int SUCCESS_CODE = 200;

    /**
     * 未知错误
     */
    public static final int ERROR_CODE = 1000;

    /**
     * 未登陆
     */
    public static final int NOT_LOGIN_CODE = 1001;

    /**
     * 登陆失败
     */
    public static final int LOGIN_ERROR = 1002;

    /**
     * 无权限
     */
    public static final int NOT_PERMIT_CODE = 1003;

    /**
     * 拥有所有权限
     */
    public static final String PERMIT_ALL = "ALL";

}
